/* 页面整体样式 */
body {
    margin: 0;
    padding: 0;
    background: #f5f5f5;
}

/* 顶部标题栏 */
.header-title {
    background: #87CEEB;
    color: white;
    text-align: center;
    padding: 10px 0;
    position: relative;
}

.header-title h1 {
    margin: 0;
    font-size: 20px;
}

.back-home {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #f40;
    text-decoration: none;
}

/* 分页导航 */
.page-nav {
    background: white;
    padding: 10px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.page-nav button {
    padding: 5px 15px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
}

.page-nav button:hover {
    border-color: #87CEEB;
    color: #87CEEB;
}

.page-info {
    margin: 0 10px;
}

.page-size-select {
    margin-left: auto;
}

/* 商品列表样式 */
.goods-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

.goods-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 20px 0;
}

.goods-item {
    background: white;
    border: 1px solid #ddd;
    padding: 10px;
    position: relative;
}

.goods-img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 10px;
}

.goods-title {
    font-size: 14px;
    color: #333;
    margin: 10px 0;
    line-height: 1.4;
    height: 40px;
    overflow: hidden;
}

.price-container {
    display: flex;
    align-items: baseline;
}

.current-price {
    color: #f40;
    font-size: 20px;
    font-weight: bold;
}

.original-price {
    color: #999;
    text-decoration: line-through;
    margin-left: 5px;
}

/* 标签样式 */
.today-tag {
    position: absolute;
    right: 10px;
    top: 10px;
    background: #f40;
    color: white;
    padding: 2px 8px;
    font-size: 12px;
}

.hot-tag {
    position: absolute;
    left: 10px;
    top: 10px;
    background: #f40;
    color: white;
    padding: 2px 8px;
    font-size: 12px;
} 